import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import UI from './components'
import {
  global
} from '@/utils'
// 导入自定义组件

// 引入初始化css文件
import './style/reset.less'
import Element from 'element-ui'
import echarts from 'echarts'
import 'element-ui/lib/theme-chalk/index.css'
import '@/directive'
Vue.prototype.$echarts = echarts
Vue.use(UI)
Vue.prototype.$GLOBAL = global

Vue.use(Element, { size: 'small' })
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
